﻿using Glue_Data.ViewModels.GData;
using Glue_Data.Views;
using MvvmLib;

namespace LaserLineDetectorLib.ViewModel
{
    /// <summary>
    /// 常规参数
    /// </summary>
    public class Vm_General_Param : Vm_Base
    {

        /// <summary>
        /// 计算倾斜角度
        /// </summary>
        [Attribute_GAutoView("角度测量")]
        public GBool IsCalAngle
        {
            get { return _IsCalAngle; }
            set
            {
                if (_IsCalAngle != value)
                {
                    _IsCalAngle = value;
                    this.OnPropertyChanged("IsCalAngle");
                }
            }
        }
        private GBool _IsCalAngle = new GBool();


        /// <summary>
        /// 加载指标测量算法
        /// </summary>
        [Attribute_GAutoView("指标测量")]
        public GBool IsCalIndicator
        {
            get { return _IsCalIndicator; }
            set
            {
                if (_IsCalIndicator != value)
                {
                    _IsCalIndicator = value;
                    this.OnPropertyChanged("IsCalIndicator");
                }
            }
        }
        private GBool _IsCalIndicator = new GBool();


    }
}
